package com.rabbitmq.ServiceImpl;

import com.rabbitmq.Mapper.JpaMapper;
import com.rabbitmq.Service.JpaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class JpaServiceImpl implements JpaService {

    @Autowired
    private JpaMapper jpaMapper;

    @Override
    public String findValueByKey(String key){
        return jpaMapper.findValueByKey(key);
    }

}
